package com.interfaces;

import java.util.List;

import com.bean.LeaveDetailsBean;
import com.exception.LMSException;
import com.view.LeaveDetailView;
import com.view.PageDetailsView;

/**
 * The Interface LeaveManager.
 * 
 * @author : gbs02399 Created on : Jul 6, 2012 Project : LMS File Name :
 *         LeaveManager.java
 */
public interface LeaveManager {

	/**
	 * Apply leave.
	 * 
	 * @param pageDetailsView
	 *            the page details view
	 * @throws LMSException
	 *             the lMS exception
	 */
	public void applyLeave(PageDetailsView pageDetailsView,LeaveDetailView leaveDetailViews) throws LMSException;
	
	
	public List<LeaveDetailsBean> getLeaveList (String userId,String leaveType) throws LMSException;
}
